/**
* @Description:
* @Param:
* @return:
* @Author: Zwill
* @Date: 2020/2/25
*/
import Operations.UserOper

object ScalaJDBC {
  def main(args: Array[String]): Unit = {
    val op = new UserOper()
    val user0 = op.User(1, "wzw", "1220-2-6", 16, "543511454", "No")
    val user00 = op.User(1, "zwill", "2020-2-25", 0, "1545343543", "YES")
    //ADD
    //    op.add(user)
//    val user1 = op.User(2,"zhangsan","1978-2-2",40,"120304197802403123","yes")
//    val user2 = op.User(3,"wangwu","1987-3-5",36,"14023419870305234E","no")
//    op.add(user1)
//    op.add(user2)
    //select
        op.sel()
    //update
    //    op.update(user2)
//    val user3 = op.User(2,"zhangsan","1978-6-2",39,"120304197802403123","yes")
//    op.update(user3)
    //delete
    //    op.del(1)
  }
}
